package com.lh.eemsserver.Service;

import com.lh.eemsserver.po.Procedure;
import com.lh.eemsserver.po.Report;
import com.lh.eemsserver.po.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface DirectorService {

    @Select("select * from reporter where reporter.reporterPhone in (select report.reporterPhone from report)")
    public List<Report> listAllReport();

    public List<Procedure> getProcedure(Report report);

    public int setUpdaterInfo(Report report);

    public User getUserName(User user);

    public User getUserInfo(User user);

    public int renewUserInfo(User user);

    public int getReportNum();

    public List<Report> listAllReportExceptApprovalPending();

    public int getProcedureNum(Report report);

    public int renewreportState(Report report);

    public Report getReportById(Report report);
}
